package cn.tedu.truetaste.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value="查询我的订单展示订单的菜品VO")
public class OrderItemListVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value="订单菜品id")
    private Long id;

    @ApiModelProperty(value="订单id")
    private Long orderId;

    /**
     * SKU id
     */
    @ApiModelProperty(value="skuId",example = "1")
    private Long skuId;

    /**
     * 菜品SKU标题
     */
    @ApiModelProperty(value="菜品SKU标题",example = "红烧肉")
    private String name;

    /**
     * 菜品SKU图片URL
     */
    @ApiModelProperty(value="菜品SKU图片URL",example = "picture1")
    private String mainPicture;

    /**
     * 菜品SKU单价
     */
    @ApiModelProperty(value="菜品SKU单价",example = "19.99")
    private Double price;

    /**
     * 菜品SKU购买数量
     */
    @ApiModelProperty(value="菜品SKU购买数量",example = "1")
    private Integer num;

}
